@charset "utf-8";

#body{
    height: 100%;
    background-color: #f2f2f2;
}
#header{
    width: 100%;
    height: 0.48rem;
    background-color: #fff;
    display: flex;
    line-height: 0.48rem;
    justify-content: space-around;
}
#header .back i{
    font-size: 23px;
    color: #919191;
}

#header .title{
    font-size: 16px;
    width: 2rem;
    text-align: center;
    color: #272c32;
}
#header .back i{
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    background-size: 100% auto;
    font-size: 23px;
    padding-left: 4px;
}
#main{
    height: 100%;
}
#main .empty{
    text-align: center;
    padding-top: 0.82rem;
}
#main .empty p{
    line-height: 0.82rem;
    color: #6c6a68;
    font-size: 16px;
}
#main .empty a{
    display: inline-block;
    border-radius: 0.22rem;
    width: 1.28rem;
    height: 0.44rem;
    color: #e4906e;
    border: 1px solid #ddc0a9;
    text-align: center;
    line-height: 0.44rem;
    margin-bottom: 0.25rem;
    font-size: 15px;
}
.iconfont{
    font-size: 25px;
}
.goodsList{
    margin-bottom: 0.2rem;
}
.goodsList p{
    line-height: 0.48rem;
    display: flex;
    justify-content: end;
    font-size: 14px;
    color: #a6a6a7;
    padding-right: 0.25rem;
}
.goodsList .discounts{
    width: 90%;
    padding: 0.1rem;
    background-color: #fff;
    margin: auto;
    border-radius: 0.05rem;
}
.goodsList .discounts .top{
    line-height: 0.5rem;
}
.goodsList .discounts span{
    display: inline-block;
    width: 0.34rem;
    height: 0.18rem;
    text-align: center;
    line-height: 0.18rem;
    color: #fddae3;
    background-color: #ed4b50;
    border-radius: 0.09rem;
    font-size: 12px;
    margin-right: 0.03rem;
}
.goodsList .discounts i{
    font-size: 12px;
}
.goodsList .discounts em{
    font-size: 14px;
    color: #e68a6d;
}
.goodsList .discounts .top{
    display: flex;
    justify-content: space-between;
}
.goodsList .discounts h1{
    font-size: 12px;
    line-height: 0.22rem;
}
.timer{
    display: inline-block;
    font-size: 12px;
    line-height: 0.22rem;
    color: #d05166;
}
.goodsList .discounts strong{
    font-size: 14px;
    color: #3c3c3c;
}
.product{
    display: flex;
    justify-content: space-between;
    padding: 0.1rem;
    background-color: #fff;
    width: 90%;
    margin: auto;
    margin-top: 10px;
    border-radius: 5px;
}
.product input{
    position: relative;
    top: 0.35rem;
    /* width: 0.2rem; */
    border-radius: 50%;
}
.product img{
    width: 0.68rem;
    height: 0.68rem;
    padding: 0.08rem;
}

.product .detail p{
    font-size: 14px;
    color: #5c5d60;
    line-height: 18px;
    line-height: 0.25rem;
}
.product .detail h3{
    margin: 10px 0;
    position: relative;
    width: 71%;
    height: 0.2rem;
    background-color: #f1f1f1;
    border-radius: 5px;
    font-size: 13px;
    color: #99999b;
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    padding-left:5px;
    padding-right: 15%;
}
.product .detail h3 i{
    font-size: 14px;
    position: absolute;
    right: 0.16rem;
    top: 2px;
}
.product .detail .price{
    display: flex;
    justify-content: space-between;
}
.product .detail .price span{
    display: block;
    width: 0.56rem;
    height: 0.24rem;
    color: #ffffff;
    background-color: #f88c3d;
    border-radius: 5px;
    line-height: 0.24rem;
    text-align: center;
    font-size: 12px;
}
.product .detail .price h4{
    position: relative;
    top: 6px;
    color: tomato;
    font-size: 14px;
    padding-right: 0.4rem;
}
.product .detail h5{
    color: #abada9;
    font-size: 10px;
    text-decoration:line-through;
}
.product .detail .count{
    display: flex;
    justify-content: space-between;
    line-height: 0.25rem;
}
.product .detail .count i{
    display: inline-block;
    width: 0.21rem;
    height: 0.21rem;
    text-align: center;
    line-height: 0.21rem;
    background-color: #eee;
}
.product .detail  .left{
    border-radius: 50% 0 0 50%;
}
.product .detail .right{
    border-radius:0 50% 50% 0;
}
.product .detail .count em{
    display: inline-block;
    width: 0.36rem;
    height: 0.21rem;
    background-color: #eee;
    line-height: 0.24rem;
    text-align: center;
    font-size: 12px;
}
.product .detail .count h6{
    padding-right: 0.2rem;
}
h1{
    color: #d05166;
    font-size: 12px;
    line-height: 0.4rem;
}

.recommended .line{
    width: 70%;
    height: 1px;
    background-color: #eee;
    margin: auto;
    margin-bottom: 0.2rem;
}
.recommended{
    position: relative;
    line-height: 22px;
}
.recommended  .title{
    position: absolute;
    left: 36%;
    top: -0.1rem;
    width: 1rem;
    background-color: #f2f2f2;
    text-align: center;
}
.recommended  .title img{
    position: relative;
    top: 0.03rem;
    width: 12px;
    height: 12px;
    padding-right: 0.05rem;
}
.allGoods{
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    padding-bottom: 0.4rem;
}
.recommended .box{
    width: 50%;
    text-align: center;
    margin-top: 0.1rem;
}
.recommended .goods{
    width: 1.64rem;
    padding: 0 0.09rem;
    background-color: #fff;
    border-radius: 10px;
    margin: auto;
}
.recommended .bigpic{
    width: 100%;
    height: auto;
    margin-bottom: 0.1rem;
}
.recommended .goods p{
    position: relative;
}
.recommended .goods p img{
    width: 0.5rem;
    height: auto;
    position:absolute;
    left: 0;
    top: 0.05rem;
}

.recommended .goods p span{
    text-indent: 1.5em;
    font-size: 15px;
    color: #253431;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.recommended .goods em{
    font-size: 11px;
    color: #7a7c7f;
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.recommended .price{
    display: flex;
    justify-content: start;
    line-height: 0.3rem;
}
.recommended .price h1,
.recommended .price h2{
    display: flex;
    justify-content: start;
    padding-right: 0.1rem;
}
.recommended .price h1,
.recommended .price h1 span{
    font-size: 20px;
    color: #f78a60;
    font-weight: 700;
}
.recommended .price h2,
.recommended .price h2 span{
    font-size: 12px;
    color: #bebebd;
    text-decoration:line-through;
}
.recommended .price h2{
    position: relative;
    top: 6px;
}
.recommended .price{
    padding-bottom: 0.15rem;
}

#footer{
    padding: 0.05rem;
    height: 0.48rem;
    width: 100%;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    z-index: 9999;
}
#footer .footerAll{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#footer .check,
#footer .delete{
    color: #5f5f5f;
    font-size: 14px;
    line-height: 0.48rem;
    padding-left: 0.1rem;
}
#footer .check span{
    font-size: 16px;
    padding-left: 0.1rem;
}
#footer .check input{
    width: 0.15rem;
    height: 0.15rem;
}
#footer .total,
#footer .total .left_top,
#footer .total .left_bottom{
    display: flex;
    justify-content: space-around;
}
#footer .total .left_top{
    justify-content: center;
    font-size: 12px;
    color: #4d4d4d;
    padding-top: 0.05rem;
}
#footer .total .left_top p{
    font-size: 16px;
    color: #f46c36;
    line-height: 20px;
}
#footer .total .left_bottom{
    color:#575757;
    font-size: 12px;
}
#footer .total a{
    display: block;
    width: 1rem;
    height: 0.48rem;
    text-align: center;
    line-height: 0.48rem;
    color: #fff;
    margin-left: 0.1rem;
    background:linear-gradient(#ffb856,#ff9645);
}

#footer .footerDel{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#footer .footerDel .delete{
    width: 38%;
    font-size: 16px;
}
#footer .footerDel .delete input{
    margin-right: 0.05rem;
}
#footer .footerDel p{
    width: 1rem;
    border: 1px solid #fd8552;
    border-radius: 0.25rem;
    height: 0.36rem;
    text-align: center;
    line-height: 0.36rem;
    color: #fd783f;
    font-size: 16px;
    margin-right: 0.15rem;
}
#footer .footerDel p:nth-child(3){
    background:linear-gradient(#ffb856,#ff9645);
    color: #fff;
    border: none;
}


.checkout{
    height: 6.67rem;
    background-color: rgba(1,1,1,0.3);
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 999;
}
.checkout .proCheck{
    height: 4.5rem;
    width: 100%;
    background-color: #fff;
    border-radius: 0.3rem 0.3rem 0 0;
    position: fixed;
    bottom: 0;
    padding: 0.2rem;
    box-sizing: border-box;
}
.checkout .proCheck .proMain{
    height:2.5rem;
    overflow-y:scroll;
    position:fixed;
    bottom:0.8rem;
    width: 90%;
    margin: auto;
}
.checkout .proCheck .proMain .line{
    line-height: 0.3rem;
}
.proCheck .checkTop{
    display: flex;
    justify-content: space-around;
    align-items: center;
    position:fixed;
    bottom: 3.5rem;
    width: 90%;
}
.proCheck .checkTop img{
    height: 0.75rem;
    width: 0.75rem;
    border-radius: 0.1rem;
    overflow: hidden;
    margin: 0 0.15rem;
}
.proCheck .checkTop .text{
    width: 70%;
    font-size: 18px;
    color: #fe8d5c;
}
.proCheck .checkTop h1{
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    color: #6f6f6f;
    font-size: 13px;
}
.proCheck  h2{
    font-size: 16px;
    color: #161616;
    font-weight: 700;
    line-height: 0.4rem;
    line-height: 0.3rem;
}
.proCheck p{
    color: #131313;
    font-size: 14px;
    height: 0.3rem;
    line-height: 0.3rem;
    background-color: #f4f4f4;
    border-radius: 0.2rem;
    text-align: center;
    margin: 0.05rem 0;
}
.proCheck .active{
    background-color: #ffaa4f;
    color: #fff;
}
.proCheck .num em{
    display: inline-block;
    background-color: #f8f8f8;
    /* line-height: 0.3rem; */
    padding: 0.05rem 0.18rem;
}
.proCheck .num em:nth-of-type(1){
    border-radius: 0.15rem 0 0 0.15rem;
}
.proCheck .num em:nth-of-type(2){
    border-radius:0 0.15rem 0.15rem 0;
}
.proCheck strong{
    background-color: #f1f1f1;
    padding: 0.05rem 0.15rem;
    margin: 0 0.02rem;
}
.proCheck b{
    display: inline-block;
    width: 90%;
    margin: auto;
    text-align: center;
    line-height: 0.4rem;
    border-radius: 0.2rem;
    background: linear-gradient(#ffb856,#ff9645);
    color: #fff;
    margin-top: 0.1rem;
    position: fixed;
    bottom: 0.1rem;
}
.proCheck{
    position: relative;
}
.proCheck i{
    position: absolute;
    right: 0rem;
    top: 0rem;
}